home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / strpp300.zip / STRNG.DOC < prev    next >
Text File  |  1993-04-11  |  2KB  |  45 lines

  1.  
  2.                            String++ Version 3.0
  3.  
  4.       Instructions for Modifying the Borland Container Class Library
  5.  
  6. ---------------------------------------------------------------------------
  7.  
  8. With the addition of strng.h, strng.cpp, and strng.lib, String++ is BCCL-
  9. compatible. Since strng.lib is a large memory model library, these instruc-
  10. tions will apply to the large model version of the BCCL. You can also create
  11. a small memory version of strng.lib and modify the small model version of
  12. the BCCL.
  13.  
  14. To install the BCCL version of String++, simply run strng.bat with the name
  15. of your Borland C++ directory. For example:
  16.  
  17. C:\PROG\STRING> STRNG D:\BC
  18.  
  19. where D:\BC is the directory where Borland C++ is installed. strng.bat does
  20. the following:
  21.  
  22. 1) Renames strng.h to strng.bcc in the ...\classlib\include directory.
  23.    Copies the String++ version of strng.h to ...\classlib\include as well
  24.    as regexp.h, parsestr.h, and filestr.h.
  25.  
  26. 2) Renames strng.cpp to strng.bcc in the ...\classlib\source directory.
  27.    Copies the String++ version of strng.cpp to ...\classlib\source as well
  28.    as str.cpp, regexp.cpp, parsestr.cpp, and filestr.cpp.
  29.  
  30. 3) Copies tclassl.lib to tclassl.bcc in the ...\classlib\lib directory.
  31.    Runs ...\bin\tlib and replaces the strng module in tclassl.lib with the
  32.    String++ version of strng.lib.
  33.  
  34. If you installed Borland C++ using non-standard directories, you may need
  35. to edit strng.bat and change the paths. To uninstall String++ from the
  36. BCCL run strng.bat with the -u option:
  37.  
  38. C:\PROG\STRING> STRNG -U D:\BC
  39.  
  40. To use the new String class, simply #include <strng.h> in your code and
  41. activate the Container Class Library option in the Options-Linker-Libraries
  42. (either Static or Dynamic). If you are using the FileString, ParseString,
  43. or RexExp class you will also need to add "BCCL" to the Options-Compiler-
  44. Code Generation-Defines list.
  45.